home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / curses210.lha / src / gnu.mk < prev    next >
Encoding:
Makefile  |  1994-02-22  |  1.9 KB  |  74 lines

  1. # -*-make-*-
  2. ##################################################################
  3. #
  4. # Desc   : Makefile for amiga curses using GNUC
  5. #
  6. # Author : Simon J Raybould.    (sie@fulcrum.co.uk)
  7. #
  8. # Date   : Thursday 27th August 1992.
  9. #
  10. #
  11. # Revision History
  12. # ================
  13. #
  14. # $Log: gnu.mk,v $
  15. # Revision 1.3  1994/02/21  22:17:16  sie
  16. # Added tgetent.c tgetstr.c tputs.c tgoto.c tgetnum.c tgetflag.c setupterm.c
  17. #
  18. # Revision 1.2  1993/05/17  23:33:10  sie
  19. # Underscores added to names.
  20. # Changes for version 2.10
  21. #
  22. # Revision 1.1  1992/12/25  22:20:02  sie
  23. # Initial revision
  24. #
  25. #
  26. ##################################################################
  27.  
  28.  
  29. SRCS=    wclrtobot.c flushinp.c wgetstr.c subwin.c mvprintw.c wscanw.c \
  30.     scanw.c mvwscanw.c mvscanw.c printw.c newwin.c _creatwin.c \
  31.     touchwin.c delwin.c mvwin.c scroll.c wsetscrreg.c _scroll.c \
  32.     scrollok.c wnoutrefresh.c doupdate.c echo.c noecho.c beep.c \
  33.     wrefresh.c initscr.c wgetch.c wstandout.c keypad.c flash.c \
  34.     initcolour.c _data.c startcolour.c hascolours.c waddstr.c \
  35.     waddch.c winsch.c wdelch.c wclear.c werase.c clearok.c wclrtoeol.c \
  36.     wstandend.c wattrset.c wattron.c wattroff.c cbreak.c nocbreak.c \
  37.     idlok.c winsertln.c wdeleteln.c nodelay.c resetty.c savetty.c \
  38.     resetterm.c fixterm.c saveterm.c baudrate.c nl.c nonl.c box.c \
  39.     mvwprintw.c _togcur.c wmove.c _zapcur.c _drawcur.c _exit.c endwin.c \
  40.     mvcur.c wprintw.c leaveok.c winch.c _doecho.c _cleanup.c \
  41.     _ansi.c gettmode.c longname.c overlay.c overwrite.c \
  42.     _mergewin.c setterm.c unctrl.c tgetent.c tgetstr.c tputs.c \
  43.     tgoto.c tgetnum.c tgetflag.c setupterm.c
  44.  
  45. CC= gcc
  46. RM= delete
  47. AR= ar
  48. RANLIB= ranlib
  49. COPY= copy
  50.  
  51. DEBUG=
  52. CFLAGS= $(DEBUG) -DNO_SCAN_PROTOS
  53. LIB= libcurses.a
  54.  
  55. OBJS= $(SRCS:.c=.o)
  56.  
  57.  
  58. all: $(LIB)
  59.  
  60. $(LIB): $(OBJS)
  61.     -$(RM) $(LIB)
  62.     $(AR) clq $(LIB) $(OBJS)
  63.     $(RANLIB) $(LIB)
  64.     $(COPY) curses.h gcc:include CLONE
  65.     $(COPY) $(LIB) gcc:lib CLONE
  66.  
  67. $(OBJS): acurses.h curses.h
  68.  
  69. clean:
  70.     -delete $(OBJS) TAGS
  71.  
  72. clobber: clean
  73.     -delete $(LIB)
  74.